package org.hutb.community.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import java.text.SimpleDateFormat;

/**
 * @ClassName AlphaConfig
 * @Description
 * 配置类
 *   配置第三方的bean
 *
 *
 * @Author xubo
 * @Date 2021/11/19 1:15
 */
@Configuration
public class AlphaConfig {
    @Bean
    public SimpleDateFormat simpleDateFormat(){
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
    }
}
